package com.clkj.cldisabledmanclient.mvp.myrecoverorg;

import com.clkj.cldisabledmanclient.base.BasePresenter;
import com.clkj.cldisabledmanclient.base.BaseView;
import com.clkj.cldisabledmanclient.bean.MyRecoverOrgDetail;
import com.clkj.cldisabledmanclient.bean.RecoverManager;

import java.util.List;

/**
 * Created by clboys on 2019/5/15.
 */

public class MyRecoverOrgDetailContract {

    public interface View extends BaseView<Presenter> {

        void getMyRecoverOrgDetail();

        void getRecoverManagers();

        void getMyRecoverOrgDetailSuccess(MyRecoverOrgDetail myRecoverOrgDetail);

        void getMyRecoverOrgDetailError(String tip);

        void getRecoverManagersSuccess(List<RecoverManager> recoverManagers);

        void getRecoverManagersError(String tip);

        void starOrgSuccess(String tip);

        void starOrgError(String tip);
    }


    public interface Presenter extends BasePresenter {

        void getMyRecoverOrgDetail(String institutionId);

        void getRecoverManagers(String institutionId, String page, String rows);

        void starOrg(String institutionId, String personnelId, String institutionScore);
    }


}
